<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__ADMIN__/css/pintuer.css">
<link rel="stylesheet" href="__ADMIN__/css/admin.css">
<script src="__ADMIN__/js/jquery.js"></script>
<script src="__ADMIN__/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改认证专家</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="{:url('admin/authen/edit')}" enctype="multipart/form-data">
      <input type="hidden" name="id" value="{$data.id}" />
      <div class="form-group">
        <div class="label">
          <label>专家名字：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$data.name}" name="name" />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>专家职称：</label>
        </div>
        <div class="field">

          <select name="occu_id" class="input w50">
            <option value="">请选择专家职称</option>
            {volist name="occu" id="ovo"}
            <option value="{$ovo.id}"
                    {eq name="$ovo.id" value="$data.occu_id"}selected ="selected" {/eq}
            >{$ovo.occu_name}</option>

            {/volist}
          </select>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>著作个数：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$data.work}" name="work" />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>评分：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$data.score}" name="score" />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>分享：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$data.share}" name="share" />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>频道：</label>
        </div>
        <div class="field">
          <select name="channel" class="input w50">
            <option value="">请选择频道分类</option>
            {volist name="cates" id="cc"  key="k"}
            <option value="{$cc.id}"
                    {eq name="cc.id" value="$data.channel"}selected ="selected" {/eq}
                >{$cc.name}</option>

            {/volist}
          </select>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>归属：</label>
        </div>
        <div class="field">
          <select name="type" class="input w50">
            <option value="">请选择频道分类</option>
            {volist name="cates" id="cc"  key="k"}
            <option value="{$cc.id}"
                    {eq name="cc.id" value="$data.channel"}selected ="selected" {/eq}
            >{$cc.name}</option>

            {/volist}
          </select>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>排序：</label>
        </div>
        <div class="field">
          <input type="number" class="input w50" value="{$data.orders}" name="order" />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>专家头像：</label>
        </div>
        <div class="field">
          <img src="/{$data.sm_pic}" style="border-radius:4px;" />
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>专家头像：</label>
        </div>
        <div class="field">
          <input type="file" id="url1" name="pic" class="button bg-blue margin-left" style="width:25%; float:left;border-style:none;background-color: #0ae;"  data-toggle="hover" data-place="right" data-image="" />
          <div class="tips"></div>
        </div>
      </div>

      <!--<div class="form-group">-->
        <!--<div class="label">-->
          <!--<label>是否推荐：</label>-->
        <!--</div>-->
        <!--<div class="field" style="padding-top:8px;">-->
          <!--是<input name="is_groom" value="1" type="radio" />-->
          <!--否<input name="is_groom" value="2"  checked="checked" type="radio" />-->
        <!--</div>-->
      <!--</div>-->

      <!--<div class="form-group">-->
        <!--<div class="label">-->
          <!--<label>归属：</label>-->
        <!--</div>-->
        <!--<div class="field">-->
          <!--<input type="text" class="input w50" value="data.type}" name="type"  placeholder="0是顶级 子集分1-5" />-->
          <!--<div class="tips"></div>-->
        <!--</div>-->
      <!--</div>-->

      <div class="form-group">
        <div class="label">
          <label>状态：</label>
        </div>
        <div class="field" style="padding-top:8px;">
          应用 <input name="status" value="1" type="radio"
                    {eq name="data.status" value="应用"}checked="checked"{/eq}
          />
          禁用 <input name="status" value="2" type="radio"
                    {eq name="data.status" value="禁用"}checked="checked"{/eq}
          />
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>是否认证：</label>
        </div>
        <div class="field" style="padding-top:8px;">
          认证 <input name="auth" value="1" type="radio"
                    {eq name="data.auth" value="认证"}checked="checked"{/eq}
          />
        未认证 <input name="auth" value="2" type="radio"
                    {eq name="data.auth" value="未认证"}checked="checked"{/eq}
          />
        </div>
      </div>

      <!--<div class="form-group">-->
        <!--<div class="label">-->
          <!--<label>服务广告页：</label>-->
        <!--</div>-->
        <!--<div class="field" style="padding-top:8px;">-->
          <!--<input type="text" class="input w50" value="" name="adpage" />-->
        <!--</div>-->
      <!--</div>-->

      <!--<div class="form-group">-->
        <!--<div class="label">-->
          <!--<label>描述：</label>-->
        <!--</div>-->
        <!--<div class="field">-->
          <!--<textarea class="input" name="desc" style=" height:90px;"></textarea>-->
          <!--<div class="tips"></div>-->
        <!--</div>-->
      <!--</div>-->

      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</body></html>
